<template>
  <div class="common-layout">
    <el-container>
      <el-aside width="auto">
        <Aside class="aside-container"/>
      </el-aside>
      <el-container>
        <el-header>
          <NavHeader />
        </el-header>
        <el-main>
          <RouterView />
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>
<script setup>
import Aside from '@/components/Aside.vue';
import NavHeader from '@/components/NavHeader.vue';

</script>
<style lang="scss" scoped>
.aside-container{
  min-height: 100vh;
}
::v-deep .el-container{
  height: 100vh;
}
::v-deep .el-header{
    padding: 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    height: 45px;
    width: 100%;
}
</style>
